﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Http;

namespace DesktopClientFramework
{
    public class SISClientFramework
    {
        using (HttpClient client = new HttpClient("http://localhost/SISServer/Information/search/")) 
        { 
        // Getting the response as a string 
        Console.WriteLine("Search"); 
        var req = new HttpRequestMessage();
        using(HttpResponseMessage response = client.Get("Tasks?owner=user3")) 
        { 
            response.EnsureStatusIsSuccessful(); 
            Console.WriteLine(response.Content.ReadAsString()); 
        } 
        Console.ReadKey(); 
     }

    }
}
